package com.jeesite.modules.ad.utils.api.utils.enums;

/**
 * 返回结果状态枚举类
 * 
 * @author 蒋佳俊
 * @version 2019/05/16
 */
public enum JsonResultCodeEnum {
	SUCCESS(0000, "成功"),
	ERROR_VALIDATE_NULL(0001, "请求参数不能为空"),
	ERROR_INCORRECT_FORMAT(0002,"请求参数格式不正确"),
	REQUEST_SIGN_ERROR(0003,"请求签名不正确"),
	SZF_SYS_ERROR(9999,"系统未知异常");

	/** 状态码 */
	private Integer code;
	/** 信息 */
	private String msg;

	private JsonResultCodeEnum(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}

}
